includes\api\WTV_Vouchers A

Total Complexity 72
Dependencies 8
Dependents 1
Total lines 439
Lines of code 287
Logical lines of code 132
Comment lines 107
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
format_voucher_rows()
B
40 17 62
format_credit_voucher_rows()
B
40 16 63
get_shipping_vat_percentage()
S
58 6 16
get_voucher()
S
57 6 14
create_order_voucher()
S
52 4 23
format_credit_shipping_rows()
S
53 4 23
format_shipping_rows()
S
53 4 23
create_credit_voucher()
S
53 3 20
get_freight_account()
S
63 3 11
get_total()
S
68 2 7
set_visma_voucher_id()
S
67 2 8
__construct()
S
74 1 4
trigger_credit_voucher()
S
75 1 4
get_visma_voucher_id()
S
80 1 3
get_visma_credit_voucher_id()
S
80 1 3
is_voucher_created()
S
79 1 3